﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web.Shalo.BanPMS1.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="center_title_bar">Sản Phẩm</div>
    <table style="width: 100%">
      
        <tr>
            <td>
                <asp:DataList ID="DataList1" runat="server" RepeatColumns="3">
                    <ItemTemplate>
                        <div class="pro" 
    style="border-style: outset; border-width: 1px; margin: 22px; width: 150px; height: 220px">
                            <div class="imgpro" 
        style="width: 100px; height: 120px; margin-top: 20px; margin-right: 25px; margin-left: 25px;">
                                <asp:Image ID="Image1" runat="server" Height="117px" 
                                    ImageUrl='<%# Eval("Hinh", "Images/{0}") %>' Width="100px" />
                            </div>
                            <div class="name" style="margin: 5px; height: 30px; text-align: center;">
                                <asp:Label ID="Label1" runat="server" ForeColor="#0099FF" 
                                    Text='<%# Eval("TenMH") %>'></asp:Label>
                            </div>
                            <div class="price" style="margin: 15px; text-align: center;">
                                <asp:Label ID="Label2" runat="server" ForeColor="#FF5050" 
                                    Text='<%# Eval("GiaBan", "{0:0,0 } vnđ") %>'></asp:Label>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>

  </asp:Content>
